#pragma once

#include "public.h"

#ifdef __cplusplus
extern "C" {
#endif

    void vReadFile(const char * pcFileName, char * pcData);

    void WalkJson(int level, cJSON * json,
        const google::protobuf::Descriptor* pMsgDesc,
        google::protobuf::Message* pMsg);

    void WalkJsonObject(int level, cJSON * json,
        const google::protobuf::Descriptor* pMsgDesc,
        google::protobuf::Message* pMsg);

    void WalkJsonArray(int level, cJSON * json,
        const google::protobuf::Descriptor* pMsgDesc,
        google::protobuf::Message* pMsg);

#ifdef __cplusplus
}
#endif
